package com.woniuxy.service.impl;

import com.woniuxy.mapper.DeptMapper;
import com.woniuxy.pojo.Dept;
import com.woniuxy.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeptServiceImpl implements DeptService {
    @Autowired
    private DeptMapper deptMapper;
    @Override
    public Dept findDeptByDeptNo(byte deptno) {
        return this.deptMapper.selectDeptByDeptno(deptno);
    }
}
